# 设计一个类
class Student:
    name = None
    gender = None
    nationality = None
    native_place = None
    age = None


# 创建一个对象
stu1 = Student()
# 对对象的属性值进行赋值
stu1.name = "李华"
stu1.gender = "男"
stu1.nationality = "中国"
stu1.native_place = "江西"
stu1.age = 18
# 获取对象中所记录的信息
print(stu1.name)
print(stu1.gender)
print(stu1.nationality)
print(stu1.native_place)
print(stu1.age)